package warthog.scangen;


public final class Alternative extends Regex {
	private Regex a,b;
	public Alternative(Regex a, Regex b) {
		this.a=a; this.b=b;
	}
	@Override
	public void connect(Node start, Node end) {
		this.a.connect(start, end);
		this.b.connect(start, end);
	}

}
